package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.ShippingOrder;
import cn.itcast.domain.cargo.ShippingOrderExample;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ShippingOrderService {

    ShippingOrder findById(String id);

    List<ShippingOrder> findAll(ShippingOrderExample example);

    void save(ShippingOrder shippingOrder);

    void update(ShippingOrder shippingOrder);

    void delete(String id);

	PageInfo<ShippingOrder> findByPage(ShippingOrderExample example, int pageNum, int pageSize);
	
}
